home *** CD-ROM | disk | FTP | other *** search
- Path: newsflash.hol.gr!news
- From: john <vjohn@prometheus.hol.gr>
- Newsgroups: comp.programming,comp.lang.c,comp.programming,comp.os.ms-windows.programmer.misc
- Subject: BWC++. PLEASE H E L P , Runtime E R R O R ->->->->-> H E L P
- Date: Sat, 30 Mar 1996 20:18:25 +0200
- Organization: Hellas On Line
- Message-ID: <315D7AF1.7E6@prometheus.hol.gr>
- NNTP-Posting-Host: cronos.hol.gr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Please consider the following.
-
- I have this class ...
-
- Class MyDialog : TDialog
- {
- public :
- MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC") //
- // i have try and this one
- // MyDialog(TWindows* aParent) :: TDialog(aParend, TResId("MyDialog_RC"))
- //
- {
- ...........
- }
- .......
- .......
- }
-
- and I call MyDialog class ...
-
- (new MyDialog(this))->Execute());
- or
- MyDialog(this).Execute();
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Is correct ?????
-
- * Notice that i dont get compiling erros *
-
- When BC++ is loaded and i run the program no error occurs. (maybe a DLL is not loading)
- ^^^^^^^^^
-
- I close BC++(4.5), I run the program and get the bellow error,
- when from my application's menu call MyDialog Dialog.
-
-
- +---------------------------+
- | Object Windows Exception |
- +---------------------------+
- | Execute Fail for window |
- | Ok to resume ? |
- | |
- | YES NO |
- +---------------------------+
-
- Please. help me.
-
- Thanks in advance John Vossos
-
- Send replies to vjohn@prometheus.hol.gr
-
- -----------------------------
-